<template>
  <div class="card-alert">
    <ve-icon class="notice-icon" name="rs_notice" size="32"></ve-icon>
    <slot></slot>
  </div>
</template>

<script setup name="CardAlert"></script>

<style lang="less" scoped>
  .card-alert {
    width: 100%;
    padding: 24rpx 16rpx;
    background: #e8f3ff;
    font-weight: 400;
    font-size: 28rpx;
    color: #1d2129;
    line-height: 40rpx;

    .notice-icon {
      margin-right: 6rpx;
      margin-top: -6rpx;
    }
  }
</style>
